<?php
    if(file_exists("../data/AnularDA.php")){
        include_once ("../data/AnularDA.php");
    }
    
    class AnularBR{
        public $context;
        public function  AnularBR(){
            $this->context = new AnularDA();
        }
        public function anular($entity){
            $registros = $this->context->anular($entity);
            return $registros;
        }
        public function buscar($cum,$anio,$actividad){
            $registros = $this->context->buscar($cum,$anio,$actividad);
            return $registros;
        }
        public function buscarDetalle($cum){
            $registros = $this->context->buscarDetalle($cum);
            return $registros;
        }
    }
?>
